#ifndef GUIBUTTON_H_
#define GUIBUTTON_H_

#include "guiComponent.h"

class guiButton : public virtual guiComponent {
	s32 m_width;
	s32 m_height;
	core::stringw m_text;
	core::stringw m_tooltip;
	public:
		inline s32 getWidth() { return m_width; }
		inline s32 getHeight() { return m_height; }
		inline void setWidth(s32 w) { m_width = w; }
		inline void setHeight(s32 h) { m_height = h; }
		inline core::stringw getText() { return m_text; }
		inline void setText(core::stringw txt) { m_text = txt; }
		inline core::stringw getTooltip() { return m_tooltip; }
		inline void setTooltip(core::stringw txt) { m_tooltip = txt; }		

		virtual bool hasID(const s32& id) {
		}
		virtual void handleEvent(const s32& id, const SEvent& event) {
		}
		
		guiButton(s32 x, s32 y, s32 w, s32 h, core::stringw caption, guiComponent* parent = 0);		
		virtual ~guiButton();
};

#endif /*GUIBUTTON_H_*/
